table of contents
MKFS.CRAMFS(8) | System Administration | MKFS.CRAMFS(8) |
NAME¶
mkfs.cramfs - make compressed ROM file system
SYNOPSIS¶
mkfs.cramfs [options] directory file
DESCRIPTION¶
Files on cramfs file systems are zlib-compressed one page at a time to allow random read access. The metadata is not compressed, but is expressed in a terse representation that is more space-efficient than conventional file systems.
The file system is intentionally read-only to simplify its design; random write access for compressed files is difficult to implement. cramfs ships with a utility (mkcramfs(8)) to pack files into new cramfs images.
File sizes are limited to less than 16 MB.
Maximum file system size is a little under 272 MB. (The last file on the file system must begin before the 256 MB block, but can extend past it.)
ARGUMENTS¶
The directory is simply the root of the directory tree that we want to generate a compressed filesystem out of.
The file will contain the cram file system, which later can be mounted.
OPTIONS¶
-v
-E
-b blocksize
-e edition
-N big, little, host
-i file
-n name
-p
-s
-z
-h, --help
-V, --version
EXIT STATUS¶
0
8
SEE ALSO¶
REPORTING BUGS¶
For bug reports, use the issue tracker at <https://github.com/karelzak/util-linux/issues>.
AVAILABILITY¶
The mkfs.cramfs command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.
2022-02-14 | util-linux 2.37.4 |